package cn.yuxiaoyuan;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication
@MapperScan("cn.yuxiaoyuan.**.mapper")
@EnableCaching
//项目启动的时候执行哪些监听器
@ServletComponentScan(value = "cn.yuxiaoyuan.annotation")
public class App
{
    public static void main( String[] args )
    {
        SpringApplication.run(App.class);
    }
}
